package com.rw.pojo;


public class Student {

  private Integer id;
  private String name;
//  private Integer classId;
  private Integer cid;

  private TClass tClass;

  public Student() {
  }

  public Student(Integer id, String name, Integer cid) {
    this.id = id;
    this.name = name;
    this.cid = cid;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getCid() {
    return cid;
  }

  public void setCid(Integer cid) {
    this.cid = cid;
  }

  public TClass gettClass() {
    return tClass;
  }

  public void settClass(TClass tClass) {
    this.tClass = tClass;
  }

  @Override
  public String toString() {
    return "Student{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", classId=" + cid +
            ", tClass=" + tClass +
            '}';
  }
}
